import request from '@/utils/request'

export function selectTribunalComputerList(data) {
  return request({
    url: '/computer/api/findAllComputer',
    method: 'post',
    data
  })
}

export function updateTribunalComputer(data) {
  return request({
    url: '/computer/api/updateComputer',
    method: 'put',
    data
  })
}

export function addTribunalComputer(data) {
  return request({
    url: '/computer/api/addComputer',
    method: 'post',
    data
  })
}

export function deleteTribunalComputer(data) {
  return request({
    url: '/computer/api/deleteComputer',
    method: 'delete',
    data
  })
}

export function getAllTribunalComputerStates(data) {
  return request({
    url: '/computer/api/getAllTribunalComputerStates',
    method: 'post',
    data
  })
}

